package cn.edu.service.impl;

import cn.edu.dao.ICity;
import cn.edu.dao.impl.ICityImpl;
import cn.edu.entity.City;
import cn.edu.service.CityService;

import java.util.List;

public class CityServiceImpl implements CityService {
    ICity iCity;
    @Override
    public List<City> getAlllist(int pId) {
        iCity = new ICityImpl();
        try {
            return iCity.getAlllist(pId);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return null;
    }

}
